<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="apple-itunes-app" content="app-id=591578609">
<meta name="viewport" content="width=device-width"/>
<meta name="description" content="德瑞姆网校" />
<meta name="keywords" content="德瑞姆网校、心理学、考试"/>
<link href="images/favicon.ico" type="image/x-icon" rel="shortcut icon" />
<title>跳转页面</title>
<style type="text/css">
a {
	color:#111;
	text-decoration:none;
}
</style>
</head>

<body style="margin: 0px;font-family:'微软雅黑'">
<div style="width:700px;margin:0 auto;height:60px;font-size:25px;text-align:center;margin-top:200px;background-color:#FAFAFA;color:#91BFBD;padding-top:25px;"> 您访问的页面无法打开，<span id="totalSecond" style="color:#008080;">5</span> 秒后将自动跳转至首页 </div>
<a href="index.htm">
<div style="width:110px;height:30px;margin:0 auto;background-color:#77B4A5;color:#FFF;font-size:14px;line-height:28px;text-align:center;margin-top:30px">立即回首页</div>
</a> 
<script language="javascript" type="text/javascript"> 

var second = document.getElementById('totalSecond').textContent; 


if (navigator.appName.indexOf("Explorer") > -1)  { 

    second = document.getElementById('totalSecond').innerText; 

} else { 

    second = document.getElementById('totalSecond').textContent; 

} 


setInterval("redirect()", 1000); 

function redirect() { 

if (second < 0) { 

    location.href = 'index.htm'; 

} else { 

    if (navigator.appName.indexOf("Explorer") > -1) { 

        document.getElementById('totalSecond').innerText = second--; 

    } else { 

        document.getElementById('totalSecond').textContent = second--; 

    } 

} 

} 

</script>
</body>
</html>
